package com.peza.bikelog.gui.restclient;

import java.util.Collection;
import java.util.List;

import com.peza.bikelog.common.domain.LogEntry;

public interface RestClient {

	public List<LogEntry> findRange(long from, long to);
	public List<LogEntry> findAll();
	public LogEntry findOne(Long id);
	public LogEntry update(LogEntry entry);
	public void updateAll(Collection<LogEntry> entries);
	public void delete(LogEntry entry);
	public void deletAll(Collection<LogEntry> entries);
	public LogEntry create(LogEntry entry);
}
